﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cw_Fhtfksp.aspx.cs" Inherits="spWeb.Page.CW.cw_Fhtfksp" %>

<%@ Register Src="../../Controls/AssessmentExt.ascx" TagName="AssessmentExt" TagPrefix="uc1" %>
<%@ Register Src="../../Controls/Attachment.ascx" TagName="Attachment" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
        <%=TaskAPI.Process %></title>
    <%=LinkCss %>
</head>
<body>
    <form id="form1" runat="server">
    <%=Prefix %>
    <fieldset>
        <legend>基本信息</legend>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td>
                    单号：
                </td>
                <td colspan="5">
                    <anthem:Label ID="ApplicationNo" runat="server"></anthem:Label>
                </td>
            </tr>
            <tr>
                <td>
                    填表日期：
                </td>
                <td colspan="5">
                    <anthem:Label ID="Time" runat="server"></anthem:Label>
                </td>
            </tr>
            <tr>
                <td>
                    姓名：
                </td>
                <td>
                    <anthem:Label runat="server" ID="UserFullName"></anthem:Label>
                </td>
                <td>
                </td>
                <td align="right">
                    部门：
                </td>
                <td colspan="2">
                    <anthem:Label runat="server" ID="Department" Visible="false"></anthem:Label>
                    <anthem:Label ID="DepEName" runat="server"></anthem:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 110px">
                    电话：
                </td>
                <td style="width: 150px">
                    <anthem:Label runat="server" ID="Tel"></anthem:Label>
                </td>
                <td style="width: 110px">
                </td>
                <td style="width: 150px">
                </td>
                <td style="width: 110px">
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    事项主题：<anthem:Image runat="server" ID="R_Subject" ImageUrl="~/Resource/Images/Icon_Required.gif"
                        Width="14" Height="13" AutoUpdateAfterCallBack="true" />
                </td>
                <td colspan="5">
                    <anthem:TextBox runat="server" ID="Subject" Width="400" />
                </td>
            </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>付款信息</legend>
        <anthem:Panel ID="pl_PaymentInfo" runat="server">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="text-align: left; width: 110px">
                        支付单位：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="PaymentUnit" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 110px">
                        城市公司：<anthem:Image runat="server" ID="R_Csgs" ImageUrl="~/Resource/Images/Icon_Required.gif"
                            Width="14" Height="13" AutoUpdateAfterCallBack="true" />
                    </td>
                    <td>
                        <anthem:DropDownList ID="City" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="City_TextChanged">
                        </anthem:DropDownList>
                    </td>
                    <td style="width: 110px;text-align:right;">
                        开发公司：<anthem:Image runat="server" ID="R_Gsgs" ImageUrl="~/Resource/Images/Icon_Required.gif"
                            Width="14" Height="13" AutoUpdateAfterCallBack="true" />
                    </td>
                    <td>
                        <anthem:DropDownList ID="Gsgs" Width="210" runat="server" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="Gsgsbmkfgs_TextChanged">
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="width: 110px;">
                        项目名称<br />
                        及分期：<anthem:Image runat="server" ID="R_Xmmc" ImageUrl="~/Resource/Images/Icon_Required.gif"
                            Width="14" Height="13" AutoUpdateAfterCallBack="true" />
                    </td>
                    <td colspan="3">
                        <anthem:DropDownList ID="Xmmc" Width="110" runat="server" AutoUpdateAfterCallBack="true">
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        付款内容：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="PaymentContent">
                        </anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        付款对象：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="PaymentObject">
                        </anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        付款分类：
                    </td>
                    <td style="text-align: left;">
                        <anthem:DropDownList ID="PaymentCategory" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem>--请选择--</asp:ListItem>
                            <asp:ListItem>工程类</asp:ListItem>
                            <asp:ListItem>采购类</asp:ListItem>
                            <asp:ListItem>精装修类</asp:ListItem>
                            <asp:ListItem>设计类</asp:ListItem>
                            <asp:ListItem>前期类</asp:ListItem>
                            <asp:ListItem>销售策略类</asp:ListItem>
                            <asp:ListItem>商业类</asp:ListItem>
                            <asp:ListItem>客户类</asp:ListItem>
                            <asp:ListItem>人力类</asp:ListItem>
                            <asp:ListItem>行政类</asp:ListItem>
                            <asp:ListItem>信息类</asp:ListItem>
                            <asp:ListItem>法务类</asp:ListItem>
                            <asp:ListItem>财务类</asp:ListItem>
                            <asp:ListItem>其他类</asp:ListItem>
                        </anthem:DropDownList>
                    </td>
                    <td style="width: 110px" align="right">
                        付款类型：
                    </td>
                    <td>
                        <anthem:DropDownList ID="PaymentType" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem>--请选择--</asp:ListItem>
                            <asp:ListItem>进度类</asp:ListItem>
                            <asp:ListItem>结算类</asp:ListItem>
                            <asp:ListItem>质保金</asp:ListItem>
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        授权类型：
                    </td>
                    <td colspan="3">
                        <anthem:DropDownList ID="AuthorizationType" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem>一般金额权限</asp:ListItem>
                            <asp:ListItem>总部金额权限</asp:ListItem>
                            <asp:ListItem>总裁金额权限</asp:ListItem>
                            <asp:ListItem>董事长权限</asp:ListItem>
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px" valign="top">
                        备注：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="Remark" TextMode="MultiLine" Height="60px"></anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px" valign="top">
                        送审附件：
                    </td>
                    <td colspan="3">
                        <anthem:CheckboxList ID="SubmitAttachment" AutoUpdateAfterCallBack="true" runat="server"
                            RepeatDirection="Horizontal" RepeatColumns="6" AutoCallBack="true">
                            <asp:ListItem Text="照片"></asp:ListItem>
                            <asp:ListItem Text="监理申请"></asp:ListItem>
                            <asp:ListItem Text="验收证明"></asp:ListItem>
                            <asp:ListItem Text="预(结)算单"></asp:ListItem>
                            <asp:ListItem Text="尾款支付确认单"></asp:ListItem>
                            <asp:ListItem Text="保修金结算扣款单"></asp:ListItem>
                            <asp:ListItem Text="收料报告单"></asp:ListItem>
                            <asp:ListItem Text="报纸广告复印件"></asp:ListItem>
                            <asp:ListItem Text="软装货品清单"></asp:ListItem>
                            <asp:ListItem Text="收费文件"></asp:ListItem>
                            <asp:ListItem Text="发票"></asp:ListItem>
                            <asp:ListItem Text="合同"></asp:ListItem>
                            <asp:ListItem Text="其他"></asp:ListItem>
                        </anthem:CheckboxList>
                    </td>
                </tr>
            </table>
        </anthem:Panel>
    </fieldset>
    <fieldset>
        <legend>付款说明</legend>
        <anthem:Panel ID="pl_PaymentInstruction" runat="server">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="text-align: left; width: 110px">
                        决算(结算)金额：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="SettlePrice" AutoUpdateAfterCallBack="true" AutoCallBack="true"
                            EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="SettlePriceCN"  ReadOnly="true" AutoUpdateAfterCallBack="true">
                        </anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        累计已付金额：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="TotalPaidPrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="TotalPaidPriceCN"  ReadOnly="true" AutoUpdateAfterCallBack="true">
                        </anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        预计总金额：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="PredictTotalPrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="PredictTotalPriceCN"  ReadOnly="true" AutoUpdateAfterCallBack="true">
                        </anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        留质保金：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="LeftAssurancePrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="LeftAssurancePriceCN" AutoUpdateAfterCallBack="true">
                        </anthem:TextBox>) &nbsp;&nbsp; 比例：<anthem:TextBox runat="server" ID="LeftAssuranceRate"
                            AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true">
                        </anthem:TextBox>%
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        拟支付方式：
                    </td>
                    <td style="width: 150px">
                        <anthem:TextBox runat="server" ID="DraftPaymentTerm">
                        </anthem:TextBox>
                    </td>
                    <td style="text-align:right; width: 110px">
                        票据类型和号码：
                    </td >
                    <td>
                        <anthem:TextBox runat="server" ID="BillTypeNum">
                        </anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px" valign="top">
                        履行状况和本次付款说明：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="ThisTimePaymentRemark" TextMode="MultiLine" Height="60px"></anthem:TextBox>
                    </td>
                </tr>
            </table>
        </anthem:Panel>
    </fieldset>
    <fieldset>
        <legend>本次申请付款金额（单位：人民币）</legend>
        <anthem:Panel ID="pl_ThisApply" runat="server">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="text-align: left; width: 110px">
                        金额小写：
                    </td>
                    <td style="width: 150px">
                        <anthem:TextBox runat="server" ID="ThisApplyPrice" AutoCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged"></anthem:TextBox>
                    </td>
                    <td style="text-align:right; width: 110px">
                        金额大写：
                    </td>
                    <td>
                        <anthem:TextBox runat="server" ID="ThisApplyPriceCN"  ReadOnly="true" AutoUpdateAfterCallBack="true"></anthem:TextBox>
                    </td>
                </tr>
            </table>
        </anthem:Panel>
    </fieldset>
    <fieldset>
        <legend>预算信息</legend>
        <anthem:Panel ID="pl_Budget" runat="server">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="text-align: left; width: 110px">
                        成本科目：
                    </td>
                    <td style="width: 150px">
                        <anthem:TextBox runat="server" Width="120px" ID="CostSubject">
                        </anthem:TextBox>%
                    </td>
                    <td align="right" style="width:110px;">
                        费用类型：
                    </td>
                    <td>
                        <anthem:DropDownList ID="FeeType" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem>成本类</asp:ListItem>
                            <asp:ListItem>费用类</asp:ListItem>
                        </anthem:DropDownList>
                        <anthem:DropDownList ID="Fee" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        目标金额：
                    </td>
                    <td colspan="3">
                        单位值<anthem:TextBox runat="server" ID="TargetUnitPrice"></anthem:TextBox>&nbsp;
                        总值<anthem:TextBox runat="server" ID="TargetPrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged"></anthem:TextBox>元人民币(<anthem:TextBox
                                runat="server" ID="TargetPriceCN" AutoUpdateAfterCallBack="true"  ReadOnly="true"></anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        已签约/结算<br />
                        金额：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="BudgetSettlePrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="BudgetSettlePriceCN" AutoUpdateAfterCallBack="true" ReadOnly="true">
                        </anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        已发生非合<br />
                        同金额：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="HappenedNonContractPrice" AutoUpdateAfterCallBack="true"
                            AutoCallBack="true" EnableCallBack="true" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>元人民币(
                        <anthem:TextBox runat="server" ID="HappenedNonContractPriceCN" AutoUpdateAfterCallBack="true"  ReadOnly="true">
                        </anthem:TextBox>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        回传经办人：
                    </td>
                    <td colspan="3">
                        <anthem:DropDownList ID="PostBackOperator" Width="165" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem>需要经办人差额说明</asp:ListItem>
                            <asp:ListItem>不需要经办人差额说明</asp:ListItem>
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px" valign="top">
                        与目标成本<br />
                        差额及说明：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="TargetCostDifferenceRemark" TextMode="MultiLine"
                            Height="60px"></anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px" valign="top">
                        预计还需<br />
                        发生成本明细：
                    </td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="PredictCostDetail" TextMode="MultiLine" Height="60px"></anthem:TextBox>
                    </td>
                </tr>
            </table>
        </anthem:Panel>
    </fieldset>
    <fieldset>
        <legend>本次确认付款金额（支付控制）</legend>
        <anthem:Panel ID="pl_Confirm" runat="server">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="text-align: left; width: 110px">
                        金额小写：
                    </td>
                    <td style="text-align: left; width: 150px">
                        <anthem:TextBox runat="server" Width="240px" AutoCallBack="true" ID="ConfirmedPrice" OnTextChanged="EnglishPriceToChinese_TextChanged">
                        </anthem:TextBox>
                    </td>
                    <td style="text-align:right; width: 110px">
                        金额大写：
                    </td>
                    <td>
                        <anthem:TextBox runat="server" Width="240px" ID="ConfirmedPriceCN" AutoUpdateAfterCallBack="true"  ReadOnly="true">
                        </anthem:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; width: 110px">
                        是否已支付：
                    </td>
                    <td colspan="3">
                        <anthem:DropDownList ID="IsPaid" Width="110" runat="server" AutoUpdateAfterCallBack="true"
                            EnableCallBack="true">
                            <asp:ListItem Text="待支付"></asp:ListItem>
                            <asp:ListItem Text="已支付"></asp:ListItem>
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        手工复核签字处：
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        附件:
                    </td>
                    <td colspan="3">
                        <div style="width: 500px;">
                            <uc2:Attachment ID="Attachment1" FileClass="附件" runat="server" />
                        </div>
                    </td>
                </tr>
            </table>
        </anthem:Panel>
    </fieldset>
    <uc1:AssessmentExt ID="AssExt" runat="server" OnSaveAsDraft="SaveAsDraft_Click" OnSend="Send_Click"
        OnAborted="Aborted_Click" />
    <%=Postfix%>
    </form>
</body>
</html>
